package com.mzj.saas.mservice.property.repository;

import com.mzj.saas.mservice.property.entity.EstateRepairsCostDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author hikari
 * @since 2021-05-20
 */
@Repository
public interface EstateRepairsCostDetailRepository extends JpaRepository<EstateRepairsCostDetail, Long>, JpaSpecificationExecutor<EstateRepairsCostDetail> {
    List<EstateRepairsCostDetail> findByRepairsId(Long repairsId);
}
